function getWidth(percent){
    return document.body.clientWidth*percent;
}